import { RouteRecordRaw } from "vue-router";
import { EmptyLayout } from "@scmt/common-components";

export const routes: Array<RouteRecordRaw> = [
  {
    path: "specimen",
    component: EmptyLayout,
    meta: {
      title: "标本",
    },
    children: [
      {
        path: "manage",
        component: () => import("./manage/index.vue"),
        meta: {
          title: "标本管理",
        },
      },
      {
        path: "collect",
        component: () => import("./collect/index.vue"),
        meta: {
          title: "标本收集",
        },
      },
      {
        path: "handling",
        component: () => import("./handling/index.vue"),
        meta: {
          title: "标本处理",
        },
      },
      {
        path: "report",
        component: () => import("./report/index.vue"),
        meta: {
          title: "标本报告",
        },
      },
    ],
  },
];
